package com.lagou.bean;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component
@Scope(value = "prototype")
public class ConsumerTaskC implements Runnable{
    @Autowired
    private ConsumerComponent consumerComponent;
    @Override
    public void run() {
        consumerComponent.sayHelloC("methodA",0);
    }
}
